package com.ruoyi.group.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Setter
@Getter
@ToString
public class BusGoods extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableId(type = IdType.AUTO)
    @TableField("id")
    private Long id;

    /** 物品名称 */
    @Excel(name = "物品名称")
    @TableField("goods_name")
    private String goodsName;

    /** 物品封面 */
    @Excel(name = "物品封面")
    @TableField("goods_cover")
    private String goodsCover;

    /** 分类 */
    @Excel(name = "分类")
    @TableField("category_id")
    private String categoryId;

    /** 品牌 */
    @Excel(name = "品牌")
    @TableField("brand")
    private String brand;

    /** 规格 */
    @TableField("spec")
    private String spec;

    /** 描述 */
    @TableField("goods_desc")
    private String goodsDesc;

    /*数量*/
    @TableField(exist = false)
    private Integer amounts;

    @TableField(exist = false)
    private String keyword;

    @TableField(exist = false)
    private String categoryName;

}
